/*            Copyright(c) 2006-2008 Dave Sexton           *
 * http://www.codeplex.com/DocProject                      *
 * http://www.codeplex.com/DocProject/Project/License.aspx *
 ***********************************************************/
using System;
using System.Collections.Generic;
using System.Text;
using System.Windows.Forms;

namespace DaveSexton.DocProject.Sandcastle.ContentManagement
{
	internal sealed class DataGridViewContentItemColumn : DataGridViewColumn
	{
		#region Public Properties
		#endregion

		#region Private / Protected
		#endregion

		#region Constructors
		/// <summary>
		/// Constructs a new instance of the <see cref="DataGridViewContentItemColumn" /> class.
		/// </summary>
		public DataGridViewContentItemColumn()
			: base(new DataGridViewContentItemCell())
		{
		}
		#endregion

		#region Methods
		public override string ToString()
		{
			StringBuilder builder = new StringBuilder(64);
			builder.Append("DataGridViewContentItemColumn { Name=");
			builder.Append(base.Name);
			builder.Append(", Index=");
			builder.Append(base.Index.ToString(System.Globalization.CultureInfo.CurrentCulture));
			builder.Append(" }");
			return builder.ToString();
		}
		#endregion
	}
}
